Restore Dabatase From a Previous State

From IQsimWiki

Jump to: navigation, search

Restore Dabatase From a Previous State - Other

Description
restoreXIQSDatabase ( [Integer mode] , String b64stream )
Restore a backup of previous Database state. The call to this command may cause a temporary Database access freeze while restoring. This command use is reserved to administrators only.
Parameters
[Integer mode]
Optional: Specify whether the current database should be backed up before updating:
0 - (default) no db backup is done
1 - a db backup is done
2 - Restore database from last saved point
Note: When db backup is enabled, one should check that enough disk space is available before.
String b64stream
a BASE64 encoded file stream. This parameter is optional when "mode" value is equal to 2 (restore last saved point).
Return Values
Integer ok - =1
Error Data structure ( Error Management )
Possible failure code returns
See Also
backupXIQSDatabase
Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List